$(function(){
	$("#forma").validate({
        rules : {
        	"finance.operatregfinance":{required:true,number:true,maxlength:15},
        	"finance.operatorgfinance":{required:true,number:true,maxlength:15},
        	"finance.asset":{required:true,number:true,maxlength:15},
        	"finance.debt":{required:true,number:true,maxlength:15},
        	"finance.taxincome":{required:true,number:true,maxlength:15},
        	"finance.taxbusiness":{required:true,number:true,maxlength:15},
        	"finance.taxstamp":{required:true,number:true,maxlength:15},
        	"finance.taxother":{required:true,number:true,maxlength:15},
        	"finance.profitcurrent":{required:true,number:true,maxlength:15},
        	"finance.profitreserve":{required:true,number:true,maxlength:15},
        	"finance.workmanager":{required:true,number:true,maxlength:15},
        	"finance.workemployee":{required:true,number:true,maxlength:15},
        	"finance.fiveyearsbad":{required:true,number:true,maxlength:15},
        	"finance.tax":{required:true,number:true,maxlength:15}
        },
        messages:{
        	"finance.operatregfinance":{required:'请填写注册资本',number:'注册资本必须填写数字',maxlength:'注册资本长度不能超过15位'},
        	"finance.operatorgfinance":{required:'请填写金融机构融入资金',number:'金融机构融入资金必须填写数字',maxlength:'金融机构融入资金长度不能超过15位'},
        	"finance.asset":{required:'请填写资产',number:'资产必须填写数字',maxlength:'资产长度不能超过15位'},
        	"finance.debt":{required:'请填写负债',number:'负债必须填写数字',maxlength:'负债长度不能超过15位'},
        	"finance.taxincome":{required:'请填写企业所得税',number:'企业所得税必须填写数字',maxlength:'企业所得税长度不能超过15位'},
        	"finance.taxbusiness":{required:'请填写营业税及附加	',number:'营业税及附加必须填写数字',maxlength:'营业税及附加长度不能超过15位'},
        	"finance.taxstamp":{required:'请填写印花税',number:'印花税必须填写数字',maxlength:'印花税长度不能超过15位'},
        	"finance.taxother":{required:'请填写其他',number:'其他必须填写数字',maxlength:'其他长度不能超过15位'},
        	"finance.profitcurrent":{required:'请填写当月营业利润',number:'当月营业利润必须填写数字',maxlength:'月营业利润长度不能超过15位'},
        	"finance.profitreserve":{required:'请填写提取一般准备金余额',number:'提取一般准备金余额必须填写数字',maxlength:'提取一般准备金余额长度不能超过15位'},
        	"finance.workmanager":{required:'请填写公司高管',number:'公司高管必须填写数字',maxlength:'公司高管长度不能超过15位'},
        	"finance.workemployee":{required:'请填写一般员工',number:'一般员工必须填写数字',maxlength:'一般员工长度不能超过15位'},
        	"finance.fiveyearsbad":{required:'请填写五级不良贷款',number:'五级不良贷款必须填写数字',maxlength:'五级不良贷款长度不能超过15位'},
        	"finance.tax":{required:'请填写税收',number:'税收必须填写数字',maxlength:'税收长度不能超过15位'}
        }
	});
});